package com.local.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

@Entity
@Table(name = "local_charge_bytime")
public class LocalChargeBytime {
    @NotEmpty
    @Length(min=1,max=32)
    @Column(name = "charge_bytime_uuid")
    private String chargeBytimeUuid;

    @Column(name = "car_type")
    private String carType;

    @Column(name = "free_time")
    private String freeTime;

    @Column(name = "free_time_charge")
    private String freeTimeCharge;

    @Column(name = "base_time")
    private String baseTime;

    @Column(name = "base_time_charge")
    private String baseTimeCharge;

    @Column(name = "account_time")
    private String accountTime;

    @Column(name = "account_time_charge")
    private String accountTimeCharge;

    @Column(name = "supass_time")
    private String supassTime;

    @Column(name = "max_charge")
    private String maxCharge;

    @Column(name = "version")
    private Double version;

    @Column(name = "status")
    private Integer status;

    @Column(name = "attr_")
    private String attr;

    @Column(name = "attr2_")
    private String attr2;

    @Column(name = "attr3_")
    private String attr3;

    @Column(name = "attr4_")
    private String attr4;
    
    //1:工作日 2:无工作日 3:不区分
    private String type;
    //1:分段   2:无分段
    private String section;

    //分段开始
    private String sectionStartTime;
    //分段结束
    private String sectionEndTime;
    
    //工昨日 主键ID
    private String weekUuid;    
    
    private String cartypeName;
	
	private Date inTime;
    
    private Date outTime;
    
    //云端停车场编号
    private String parkOrgCode;
    
    
    
    //接收修改值
    private String attr1;
    
    

    public String getAttr1()
	{
		return attr1;
	}

	public void setAttr1(String attr1)
	{
		this.attr1 = attr1;
	}

	public String getType()
	{
		return type;
	}

	public void setType(String type)
	{
		this.type = type;
	}

	public String getSection()
	{
		return section;
	}

	public void setSection(String section)
	{
		this.section = section;
	}

	public String getSectionStartTime()
	{
		return sectionStartTime;
	}

	public void setSectionStartTime(String sectionStartTime)
	{
		this.sectionStartTime = sectionStartTime;
	}

	public String getSectionEndTime()
	{
		return sectionEndTime;
	}

	public void setSectionEndTime(String sectionEndTime)
	{
		this.sectionEndTime = sectionEndTime;
	}

	public String getWeekUuid()
	{
		return weekUuid;
	}

	public void setWeekUuid(String weekUuid)
	{
		this.weekUuid = weekUuid;
	}

	public String getCartypeName()
	{
		return cartypeName;
	}

	public void setCartypeName(String cartypeName)
	{
		this.cartypeName = cartypeName;
	}

	public Date getInTime()
	{
		return inTime;
	}

	public void setInTime(Date inTime)
	{
		this.inTime = inTime;
	}

	public Date getOutTime()
	{
		return outTime;
	}

	public void setOutTime(Date outTime)
	{
		this.outTime = outTime;
	}

	public String getParkOrgCode()
	{
		return parkOrgCode;
	}

	public void setParkOrgCode(String parkOrgCode)
	{
		this.parkOrgCode = parkOrgCode;
	}

	public String getChargeBytimeUuid() {
        return chargeBytimeUuid;
    }

    public void setChargeBytimeUuid(String chargeBytimeUuid) {
        this.chargeBytimeUuid = chargeBytimeUuid == null ? null : chargeBytimeUuid.trim();
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType == null ? null : carType.trim();
    }

    public String getFreeTime() {
        return freeTime;
    }

    public void setFreeTime(String freeTime) {
        this.freeTime = freeTime == null ? null : freeTime.trim();
    }

    public String getFreeTimeCharge() {
        return freeTimeCharge;
    }

    public void setFreeTimeCharge(String freeTimeCharge) {
        this.freeTimeCharge = freeTimeCharge == null ? null : freeTimeCharge.trim();
    }

    public String getBaseTime() {
        return baseTime;
    }

    public void setBaseTime(String baseTime) {
        this.baseTime = baseTime == null ? null : baseTime.trim();
    }

    public String getBaseTimeCharge() {
        return baseTimeCharge;
    }

    public void setBaseTimeCharge(String baseTimeCharge) {
        this.baseTimeCharge = baseTimeCharge == null ? null : baseTimeCharge.trim();
    }

    public String getAccountTime() {
        return accountTime;
    }

    public void setAccountTime(String accountTime) {
        this.accountTime = accountTime == null ? null : accountTime.trim();
    }

    public String getAccountTimeCharge() {
        return accountTimeCharge;
    }

    public void setAccountTimeCharge(String accountTimeCharge) {
        this.accountTimeCharge = accountTimeCharge == null ? null : accountTimeCharge.trim();
    }

    public String getSupassTime() {
        return supassTime;
    }

    public void setSupassTime(String supassTime) {
        this.supassTime = supassTime == null ? null : supassTime.trim();
    }

    public String getMaxCharge() {
        return maxCharge;
    }

    public void setMaxCharge(String maxCharge) {
        this.maxCharge = maxCharge == null ? null : maxCharge.trim();
    }

    public Double getVersion() {
        return version;
    }

    public void setVersion(Double version) {
        this.version = version;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getAttr() {
        return attr;
    }

    public void setAttr(String attr) {
        this.attr = attr == null ? null : attr.trim();
    }

    public String getAttr2() {
        return attr2;
    }

    public void setAttr2(String attr2) {
        this.attr2 = attr2 == null ? null : attr2.trim();
    }

    public String getAttr3() {
        return attr3;
    }

    public void setAttr3(String attr3) {
        this.attr3 = attr3 == null ? null : attr3.trim();
    }

    public String getAttr4() {
        return attr4;
    }

    public void setAttr4(String attr4) {
        this.attr4 = attr4 == null ? null : attr4.trim();
    }
}